runQuery("delete FROM events WHERE sn=:odn"); $stmt->bindparam(":odn",$odn) ; //$stmt->execute(array(":odn"=>$username)); if($stmt->execute()) header("location: publishevents") ; }